home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
text
/
misc
/
MSWordView_src.lha
/
mswordview
/
Makefile.in
< prev
next >
Wrap
Makefile
|
1999-02-09
|
2KB
|
112 lines
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@ @ZLIB_LIBS@ -lm
GETOPT = @LIBOBJS@
CC = @CC@
LEX = @LEX@
SHELL=/bin/sh
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
@SET_MAKE@
prefix = @prefix@
exec_prefix = @exec_prefix@
srcdir = @srcdir@
bindir = @bindir@
libdir = @libdir@
mandir = @mandir@
PERL = @PERL@
CFLAGS = @CFLAGS@ @DEFS@ @ZLIB_CFLAGS@ -m68020 -Ioledecod -I. -DPATTERNDIR=\"file:///mswordview:patterns\" -DSYMBOLFONTDIR=\"file:///mswordview:symbolfont\" -DWINGDINGFONTDIR=\"file:///mswordview:wingdingfont\"
MKINSTALLDIRS = $(srcdir)/mkinstalldirs
SHELL = /bin/sh
.SUFFIXES: .C .o
MYOBJECTS = \
mswordview.o \
laolareplace.old.o \
support.o \
list.o \
piecetable.o \
stylesheet.o \
sprm.o \
blip.o \
utf.o \
init_chp.o \
field.o \
formatting.o \
references.o \
gpprl.o \
papchpsep.o \
hyperlink.o \
decompresswmf.o \
table.o \
annotations.o \
roman.o
OLE = oledecod/oledecod.o
all: mswordview
mswordview: $(MYOBJECTS) $(GETOPT) OLEDECODE
$(CC) $(LDFLAGS) -o mswordview $(MYOBJECTS) $(GETOPT) $(OLE) $(LIBS)
support.o: support.c Makefile
$(CC) $(CFLAGS) -c $*.c
laolareplace.o: laolareplace.c Makefile
$(CC) $(CFLAGS) -c $*.c
OLEDECODE:
@echo making oledecod in oledecod
@(cd oledecod && $(MAKE)) || exit 1
%.o: %.c
$(CC) $(CFLAGS) -c $*.c
cleansub:
@echo cleaning oledecod in oledecod
@(cd oledecod && $(MAKE) clean) || exit 1
clean: cleansub
rm -rf $(MYOBJECTS) $(GETOPT) mswordview core a.out
realclean: realcleansub
rm -rf config.cache config.status config.log Makefile config.h lex.yy.c *.o mswordview core out* analyze/*
realcleansub:
@echo real cleaning oledecod in oledecod
@(cd oledecod && $(MAKE) realclean) || exit 1
installdirs:
$(MKINSTALLDIRS) $(bindir) \
$(mandir) \
$(mandir)/man1 \
$(libdir) \
$(libdir)/mswordview \
$(libdir)/mswordview/symbolfont \
$(libdir)/mswordview/wingdingfont \
$(libdir)/mswordview/patterns
install: installdirs $(srcdir)/mswordview
$(INSTALL) $(srcdir)/mswordview $(bindir)/mswordview
$(INSTALL_DATA) $(srcdir)/symbolfont/* $(libdir)/mswordview/symbolfont
$(INSTALL_DATA) $(srcdir)/wingdingfont/* $(libdir)/mswordview/wingdingfont
$(INSTALL_DATA) $(srcdir)/patterns/* $(libdir)/mswordview/patterns
$(INSTALL_DATA) $(srcdir)/mswordview.1 $(mandir)/man1/
# DO NOT DELETE THIS LINE -- make depend depends on it.